<?php if(isset($buttons) && is_array($buttons)): ?>

	<?php foreach($buttons as $button ): ?>
	<?php 
		$button = explode('#',$button);
	?>
		<button type="button" name="btnAction" value="<?php echo lang("dataman.{$button[0]}");?>" class="button" id="<?php echo $button[0];?>" onclick="javascript:return <?php echo $button[1];?>">
			<span>
				<?php echo lang("dataman.{$button[0]}");?>
			</span>
		</button>
	<?php endforeach; ?>

<?php endif; ?>


